package module.edittroop.model.dataObj
{
	public class TroopInfoObj
	{
		/**
		 *兵种 
		 */		
		public var arms:String;
		/**
		 *兵力 
		 */		
		public var troops:Number;
		/**
		 *兵种技能 
		 */		
		public var skill:String;
		/**
		 *部队攻击力 
		 */		
		public var attactNum:Number;
		/**
		 *部队防御力 
		 */		
		public var defensNum:Number;
		/**
		 *部队名称 
		 */		
		public var forceName:String;
		public function TroopInfoObj()
		{
			
		}
		public static function phaseData(value:Object):TroopInfoObj
		{
			var userInfoObj:TroopInfoObj = new TroopInfoObj;
			userInfoObj.arms = value.arms;
			userInfoObj.attactNum = value.attactNum;
			userInfoObj.defensNum = value.defensNum;
			userInfoObj.skill = value.skill;
			userInfoObj.troops = value.troops;
			userInfoObj.forceName = value.forceName;
			return userInfoObj;
		}
	}
}